import os
from pathlib import Path

# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent

log_info = {
    # 文件日志的级别
    "file_log_level": "WARNING",

    # 控制台日志级别
    "console_log_level": "DEBUG",

    # 日志文件的保存地址
    "log_path": os.path.join(BASE_DIR, 'risk-check.log'),

    # logging 的基础配置地址
    "log_config_path": os.path.join(BASE_DIR, 'resource', 'logging-config.yml')}

if __name__ == '__main__':
    print(BASE_DIR)
